﻿using System;

namespace NInject.Practice.Interceptor
{
    public interface IMyService
    {
        void GetString();
    }

    public class MyService : IMyService
    {
        [Timing]
        public virtual void GetString()
        {
            Console.WriteLine("hello service");
        }
    }
}